package com.shoulder.boot.common.conf;

import com.shoulder.boot.common.log.DBlogPrinter;
import com.shoulder.boot.system.mapper.LogMapper;
import com.shoulder.log.printer.LogPrinter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class LogPrinterConf {

    @Bean
    public LogPrinter logPrinter(LogMapper logMapper){
        return new DBlogPrinter(logMapper);
    }
}
